package com.zpz.framework.zpzoauth.dao;

import com.zpz.framework.zpzoauth.common.dao.ZpzOauthBaseMapper;
import com.zpz.framework.zpzoauth.pojo.pe.GetRoleMenuByRoleCodePe;
import com.zpz.framework.zpzoauth.pojo.po.FrameRoleMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author zhangpanzhi
 * @time 2019-07-09
 * @description 未经本人允许请勿随便改动，尊重劳动
 * */
public interface ZpzOauthFrameRoleMenuMapper extends ZpzOauthBaseMapper<FrameRoleMenu> {
    List<GetRoleMenuByRoleCodePe> findRoleMenuByRoleCode(@Param("roleCode") String roleCode);

    /**
     * 删除角色菜单信息
     * @param frameRoleMenus
     * @return
     */
    Integer delFrameRoleMenu(Map frameRoleMenus);

}
